package com.taptech.doufu.bean.cp;

import java.util.List;

/**
 * author zhangyongcun
 * 16/9/29
 */
public class ItemCpRankBean {

    /**
     * status : 0
     * user_msg :
     * fail_code : 0
     * data : {"items":[{"id":"1423","object_type":"39","type":"38","name":"CP排行榜(国内)","icon":"http://imgold2.doufu.la/doufu/albums/qZ/QK/8MCJY1WUw9XrFhg5HfXKTTH2YpJdohDp-4ybIyCpYI4GNVyq1rpDL3U3s9fb.jpg","url":"http://api.doufu.la/index.php/cp/get_cp_rank_list?time=1&area=3"},{"id":"1424","object_type":"39","type":"38","name":"CP排行榜(日本)","icon":"http://imgold2.doufu.la/doufu/albums/qZ/QK/8MCJY1WUw9XrFhg5HfXKTTH2YpJdohDp-4ybIyCpYI4GNVyq1rpDL3U3s9fb.jpg","url":"http://api.doufu.la/index.php/cp/get_cp_rank_list?time=1&area=2"},{"id":"1425","object_type":"39","type":"38","name":"CP排行榜(欧美)","icon":"http://imgold2.doufu.la/doufu/albums/qZ/QK/8MCJY1WUw9XrFhg5HfXKTTH2YpJdohDp-4ybIyCpYI4GNVyq1rpDL3U3s9fb.jpg","url":"http://api.doufu.la/index.php/cp/get_cp_rank_list?time=1&area=1"}]}
     * time_begin : 1.4751427831559E9
     * time_cost : 0.0046799182891846
     * trace : []
     * ip : 58.30
     */

    private int status;
    private String user_msg;
    private int fail_code;
    private DataBean data;
    private double time_begin;
    private double time_cost;
    private String ip;
    private List<?> trace;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getUser_msg() {
        return user_msg;
    }

    public void setUser_msg(String user_msg) {
        this.user_msg = user_msg;
    }

    public int getFail_code() {
        return fail_code;
    }

    public void setFail_code(int fail_code) {
        this.fail_code = fail_code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public double getTime_begin() {
        return time_begin;
    }

    public void setTime_begin(double time_begin) {
        this.time_begin = time_begin;
    }

    public double getTime_cost() {
        return time_cost;
    }

    public void setTime_cost(double time_cost) {
        this.time_cost = time_cost;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public List<?> getTrace() {
        return trace;
    }

    public void setTrace(List<?> trace) {
        this.trace = trace;
    }

    public static class DataBean {
        /**
         * id : 1423
         * object_type : 39
         * type : 38
         * name : CP排行榜(国内)
         * icon : http://imgold2.doufu.la/doufu/albums/qZ/QK/8MCJY1WUw9XrFhg5HfXKTTH2YpJdohDp-4ybIyCpYI4GNVyq1rpDL3U3s9fb.jpg
         * url : http://api.doufu.la/index.php/cp/get_cp_rank_list?time=1&area=3
         */

        private List<ItemsBean> items;

        public List<ItemsBean> getItems() {
            return items;
        }

        public void setItems(List<ItemsBean> items) {
            this.items = items;
        }

        public static class ItemsBean {
            private String id;
            private String object_type;
            private String type;
            private String name;
            private String icon;
            private String url;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getObject_type() {
                return object_type;
            }

            public void setObject_type(String object_type) {
                this.object_type = object_type;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }
    }
}
